package Practice;

import java.util.Arrays;
import java.util.Scanner;

public class Triangle {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int[] arr = new int[3];
        for (int i = 0; i < arr.length; i++) {
            arr[i] = sc.nextInt();
        }
        Arrays.sort(arr);
        if (arr[0]+arr[1]<=arr[2]&&arr[2]-arr[0]>=arr[1]){
            System.out.println("Not triangle");
            return;
        }
        if (arr[0]*arr[0]+arr[1]*arr[1]==arr[2]*arr[2]){
            System.out.println("Right triangle");
        }
        if (arr[0]*arr[0]+arr[1]*arr[1]>arr[2]*arr[2]){
            System.out.println("Acute triangle");
        }
        if (arr[0]*arr[0]+arr[1]*arr[1]<arr[2]*arr[2]){
            System.out.println("Obtuse triangle");
        }
        if (arr[0]==arr[1]){
            System.out.println("Isosceles triangle");
        }
        if (arr[0]==arr[1]&&arr[1]==arr[2]){
            System.out.println("Equilateral triangle");
        }
    }
}
